public class StarShapes {

    public static void main(String[] args) {
        Stars x = new Stars();
        x.stars(7, true, true);
    }
}

class Stars {
    public static void stars(int i, boolean diamond, boolean name) {
        int middle = (i-1)/2;

        for (int x = middle; x > 0; x--){
            //System.out.print(x);
            char[] line = new char[i];
            java.util.Arrays.fill(line, '*');
            java.util.Arrays.fill(line, 0, x, ' ');
            java.util.Arrays.fill(line, line.length - x, line.length, ' ');
            System.out.println(line);
        }
        if (name) {
            System.out.println("Mike");
        }
        else {
            char[] nextline = new char[i];
            java.util.Arrays.fill(nextline, '*');
            System.out.println(nextline);
        }
        if (diamond) {
            for (int x = 1; x <= middle; x++){
                //System.out.print(x);
                char[] line = new char[i];
                java.util.Arrays.fill(line, '*');
                java.util.Arrays.fill(line, 0, x, ' ');
                java.util.Arrays.fill(line, line.length - x, line.length, ' ');
                System.out.println(line);
            }
        }
    }

}